﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Microsoft.Phone.UserData;

namespace css
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file together.
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
    public class Service1 : IService1
    {

        List<sContact> l = new List<sContact>();
        public void Setdata(sContact c)
        {
            l.Add(c);
        }


        public List<sContact> GetData()
        {
            return l;
        }
    }
}
